<template>
  <div class="footer-menus">
    <div class="menu-item" @click="handleGotoPage('/his-push')">历史推送</div>
<!--    <divider vertical :style="{ borderColor: 'rgb(118,118,118)' }"/>-->
<!--    <div class="menu-item" @click="handleGotoPage('/pcenter')">个人中心</div>-->
  </div>
</template>

<script setup lang="ts">
import {Divider} from 'vant'
import {useRouter} from "vue-router";
const router = useRouter()

const handleGotoPage = (path: string) => {
  router.replace(path)
}
</script>

<style scoped lang="less">
.footer-menus{
  position: fixed;
  bottom: 0;
  left:0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  box-sizing: border-box;
  background: #f7f7f7;
  border-top: 1px solid #f7f7f7;
  .menu-item{
    font-size: 14px;
    padding: 10px 0;
    //width: 50%;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}
</style>
